package com.elock.intf.service.impl;

import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.elock.base.core.Page;
import com.elock.base.core.Pageable;
import com.elock.base.core.service.impl.BaseServiceImpl;
import com.elock.entity.TerminalMessageEvent;
import com.elock.intf.dao.IntfTerminalMessageEventDao;
import com.elock.intf.service.IntfTerminalMessageEventService;

/**
 * 终端事件信息
 * @author 仁德
 */
@Service("intfTerminalMessageEventServiceImpl")
public class IntfTerminalMessageEventServiceImpl extends
		BaseServiceImpl<TerminalMessageEvent> implements IntfTerminalMessageEventService {

	@Resource(name = "intfTerminalMessageEventDao")
	private IntfTerminalMessageEventDao intfTerminalMessageEventDao;

	@Override
	@Transactional(readOnly = true)
	public Page<Map<String, Object>> findPage(Pageable pageable, Object[] args) {
		return intfTerminalMessageEventDao.findPage(pageable, args);
	}
}
